﻿using System.Runtime.Serialization;

namespace Ping.Core
{
	[DataContract]
	public enum ServerStatus
	{
		[EnumMember] InternalServerError,

		[EnumMember] InvalidRequest,

		[EnumMember] OperationError,
	}

	[DataContract]
	public sealed class OperationResult
		: Result
	{
		/// <summary>
		/// The current status of the server.
		/// </summary>
		[DataMember] public ServerStatus Status;
	}
}